feat : OAuth2 로그인 시스템 아키텍처 리팩토링 및 성능 최적화#13
Merged
DongHyeonka merged 1 commit intoSynapsesa:developfrom Jun 18, 2025
Merged
Conversation
- OAuth2ProviderUser 추상 클래스 도입으로 소셜 사용자 클래스 구조 통일 - AbstractOAuth2UserService 추가로 OAuth2/OIDC 서비스 공통 로직 추상화 - ProviderUserConverter 패턴 적용으로 Provider별 사용자 변환 로직 분리 - MemberRegistrationService 통합 쿼리 최적화 (여러 SELECT → 단일 SELECT) - OIDC 관련 메서드 제거로 불필요한 의존성 제거 - 테스트 구조 개선 (단위테스트 삭제, 통합테스트로 전환)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 관련 이슈
✨ PR 작업 내용
findBySocialIdOrEmailOrUsername메서드 추가로 소셜 로그인 시 여러 번의 SELECT 쿼리를 단일 쿼리로 최적화GoogleUser→OAuth2ProviderUser상속으로 변경CustomOAuth2UserService,CustomUserDetailsService→AbstractOAuth2UserService상속MemberRegistrationService.registerOauthUser()메서드 시그니처 변경ProviderUser인터페이스에서getIdToken(),getUserInfo()메서드 제거이미지 첨부
다음 할 일